
function init_user_friends()
{
  loadPageFriends('get_users_friends.php'); 
}

var conexion_three;
function loadPageFriends(url) 
{

  if(url=='')
  {
        return;
  }
  conexion_three=postRequest();
  conexion_three.onreadystatechange = printFriends;
  conexion_three.open("GET", url, true);
  conexion_three.send(null);
}

function printFriends()
{
  var entry = document.getElementById("usersFriends");
  if(conexion_three.readyState == 4)
  {
	  entry.innerHTML = conexion_three.responseText;
  } 
}

